package engine.newUi
{
	import engine.ui.lite.BaseUI;
	
	import flash.display.MovieClip;
	
	import newx.com.control.button.NxButton;
	import newx.com.control.table.NxTable;
	import newx.com.control.text.NxLabel;
	
	public class PkListRankUI extends BaseUI
	{
		public		var back			:MovieClip;
		public		var line			:MovieClip;
		public		var pkListInfo		:NxTable;
		public		var nextBtn			:NxButton;
		public		var preBtn			:NxButton;
		public		var numBack			:MovieClip;
		public		var numLabel		:NxLabel;
		private	var _myLogic		:PkListRankLogic;
		
		private static var _self	:PkListRankUI;
		public function PkListRankUI(popupUI:Boolean=true)
		{
		}
		public static function getInstance():PkListRankUI
		{
			if(_self	==	null)
			{
				_self	=	new PkListRankUI();
			}
			return _self;
		}
		override public function Init():void
		{
			_myLogic	=	PkListRankLogic.getInstance();
		}
		
		override protected function AfterHide():void
		{
			_myLogic.removeListener();
		}
		
		override protected function BeforeShow():void
		{
			_myLogic.addListener();
		}
		
	}
}